<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<link href="css/estilos.css" rel="stylesheet" type="text/css">
</head>
<script language="javascript" type="">
   function limpia(x, y){
     try{
       document.getElementById(x).value = '';
       document.getElementById(y).value = '';
     }catch(ex){
       alert(ex);
     }finally{
     }
   }

</script>
<body onLoad="self.focus();">
<html:form action="/matrizCorreo" method="GET">
<html:hidden property="action" value="actualizarMatriz"/>
<html:hidden property="str_idEstatus"/>
<html:hidden property="str_idDirigido"/>

<table width="100%" border="0" cellpadding="0" cellspacing="1" class="tabla">
  <tr>
    <td colspan="2" height="18">
      <table width="100%" border="0" cellpadding="0" cellspacing="">
        <tr>
          <td height="25" align="right" valign="middle" class="encabezadoTabla font_general"><html:img width="17" height="23" src="images/img_loginFlecha.gif" alt=" "/>&nbsp; </td>
          <td class="encabezadoTabla font_general" align="left" valign="middle">&nbsp;<strong>Perfil</strong></td>
        </tr>
      </table>
    </td>
  </tr>
  <logic:present name="arr_perfil">
    <logic:iterate id="perfil" name="arr_perfil">
      <tr>
        <bean:define id="a" value="Lunes"/>
        <td width="30" align="center" valign="middle" class="colorCampo  font_general">
          <logic:equal name="perfil" property="str_idPerfilSlctd" value="true">
            <html:multibox name="perfil" property="str_idPerfilS" disabled="false" ><bean:write name="perfil" property="str_idPerfil" /></html:multibox>
          </logic:equal>
          <logic:equal name="perfil" property="str_idPerfilSlctd" value="false">
            <html:multibox name="perfil" property="str_idPerfilS" disabled="true" ><bean:write name="perfil" property="str_idPerfil" /></html:multibox>
          </logic:equal>
        </td>
        <td align="left" valign="middle" class="colorLabel font_general">&nbsp;<bean:write name="perfil" property="str_descPerfil"/></td>
      </tr>
    </logic:iterate>
  </logic:present>
  <logic:notPresent name="str_idPerfil">
  </logic:notPresent>
  <tr>
    <td width="30" align="center" valign="middle" class="colorCampo  font_general">Otro<html:hidden property="str_nomina"/></td>
    <td align="left" valign="middle" class="colorLabel font_general">&nbsp;<html:text property="str_descOtro" styleClass="textfield" readonly="true"></html:text><html:link href="javascript:var win2=open('userList.do?action=buscarUsuario&nomina=str_nomina&nombre=str_descOtro','Buscar','width=386,status=YES,height=300,scrollbars=YES');">
                  <img src="images/img_editar.gif" align="middle" width="15" height="15" border="0" alt="Editar Backup"/>
                  </html:link>
      <a href="#"><img src="images/img_borrar.gif" alt="Eliminar Otro" width="15" height="15" border="0" align="absmiddle" onClick="limpia('str_nomina', 'str_descOtro');"></a></td>
  </tr>
  <tr>
    <td colspan="2" height="30" align="center" valign="middle" class="colorLabel">
      <html:submit styleClass="boton" value="Guardar" property="Submit"/>
    </td>
  </tr>
</table>
</html:form>
</body>
</html:html>
